package com.etc.entity;

import java.util.Date;

public class Books {
    /**
    * 书本编号
    */
    private Integer bId;

    /**
    * 书本名
    */
    private String bName;

    /**
    * 书本简介
    */
    private String bContent;

    /**
    * 作者
    */
    private String bAuthor;

    /**
    * 书本类型
    */
    /*private Integer btId;*/
    private Bookstype bookstype;

    /**
    * 书本图片
    */
    private String bImg;

    private Date bTime;

    /**
    * 图书价格
    */
    private Long bPrice;

    public Books() {
    }

    @Override
    public String toString() {
        return "Books{" +
                "bId=" + bId +
                ", bName='" + bName + '\'' +
                ", bContent='" + bContent + '\'' +
                ", bAuthor='" + bAuthor + '\'' +
                ", bookstype=" + bookstype +
                ", bImg='" + bImg + '\'' +
                ", bTime=" + bTime +
                ", bPrice=" + bPrice +
                '}';
    }

    public Integer getbId() {
        return bId;
    }

    public void setbId(Integer bId) {
        this.bId = bId;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbContent() {
        return bContent;
    }

    public void setbContent(String bContent) {
        this.bContent = bContent;
    }

    public String getbAuthor() {
        return bAuthor;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    public Bookstype getBookstype() {
        return bookstype;
    }

    public void setBookstype(Bookstype bookstype) {
        this.bookstype = bookstype;
    }

    public String getbImg() {
        return bImg;
    }

    public void setbImg(String bImg) {
        this.bImg = bImg;
    }

    public Date getbTime() {
        return bTime;
    }

    public void setbTime(Date bTime) {
        this.bTime = bTime;
    }

    public Long getbPrice() {
        return bPrice;
    }

    public void setbPrice(Long bPrice) {
        this.bPrice = bPrice;
    }
}